package org.ignite.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ignite.cache.query.annotations.QuerySqlField;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Person implements Serializable {


    private static final long serialVersionUID = -5823097825272214319L;
    @QuerySqlField(index = true)
    private Integer id;

    @QuerySqlField(index = true)
    private String firstName;

    @QuerySqlField(index = true)
    private String phone;

}